package design.factory.abstractFactory;

public class Test {
    public static void main(String[] args) {
        Gun handGun = HandGunFactory.getFoctory().getALoadedGun();
        handGun.shoot();
        handGun.loading(HandGunFactory.getFoctory().createBullet());
        handGun.shoot();
//        Gun gun = MachineFactory.getFoctory().getALoadedGun();
//        gun.shoot();
    }
}
